perm filename LETTER.LES[UP,DOC] blob sn#500380 filedate 1980-03-31 generic text, type C, neo UTF8
COMMENT ⊗   VALID 00003 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	.		<< Here is a sample Pub letter - LES >>
C00005 00003	.		<< Here is a sample Pub office memorandum >>
C00008 ENDMK
C⊗;
.		<< Here is a sample Pub letter - LES >>
.require "letter.pub[sub,sys]" source_file;
.date←"15 January 1979";	<< if omitted, defaults to today >>
.phone←"415 497-4202";		<< if omitted, defaults to "415 497-2273" >>
.sail letter;
Letter writers
Computer Science Department
Stanford University
Stanford, California 94305

.subject  "Pub macros for letterheads"

Dear writer:

Here is a sample of a Pub-ified letter, given in file LETTER.LES[UP,DOC].
To try it out, copy the file to your area and Pub it.

The LETTER source file contains a number of macros.
To get a SAIL letterhead, as above, use the SAIL LETTER macro.
For a Computer Science Department letter, use the CS LETTER macro instead.

The source files define fonts 1-8, so if you wish to define any more,
they should be numbered 9 or higher.  Both "αα" and "α%" are "turned on", so
if you want to print either of those symbols be sure to precede them with
an "αα".

Fonts 1-3 are Baskerville light, %2italic, %1and %3bold%1, so you can
spice up your letter with suitable font switches.  There is also a macro
for printing special headings:

.cb "This prints a centered, boldface heading"

As shown, there is a macro for printing the subject of the letter if you wish.
Remember that when parameters in a Pub macro call contain parentheses,
commas, or semicolons, you must enclose them in quotes or "|".
Parameters that extend over more than one line must be enclosed in "|" and
each line must begin with ".".

The following macro prints a signature line.  The third parameter (the title)
may be omitted.

.signed Good luck, Les Earnest, Publicist
.		<< Here is a sample Pub office memorandum >>
.date←"19 February 1979";	<< defaults to today if not set >>
.sail memo "fellow bureaucrats", "Les Earnest, Pub crawler";
.subject "Pub macros for office memos"

Here is a sample of a Pub-ified memo.  The macro SAIL MEMO has two
arguments: the addressee and the originator.
There is a similar CS MEMO macro for Computer Science Department memos.
The SUBJECT and CB macros may be used in the same way as for letters.

.cb Automatic Bureaucracy
You can put multiple letters and memos in the same file (just like this)
and Pub them all in one pass.
For form letters, you can embed macros within macros, gobble up address
lists, and crank out so much paper that no one will be able to stay up
with you.

Keep those cards and letters going -- in %2triplicate!%1